<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>OIS-Mock-Facade</title>
    <link rel="icon" href="http://file.firmail.cn/static/firmail.icon.png"/>
    <link rel="stylesheet" type="text/css" href="css/download-pc.css"/>
    <link rel="stylesheet" type="text/css" href="css/customized_add.css"/>

</head>
<body>
<div class="header">
    <h1>MOCK FACADE</h1>
</div>
<div class="banner">
    <div class="banner-main">
        <h2>MOCK SERVICE</h2>
        <div>
            <table>
                <tbody>
                <tr>
                    <td>
                        <div>
                            <span>用户名字：</span> <input type="text" id="userName"/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <span>接口别名：</span> <input type="text" id="nickname"/>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div>
                            <span>专业名称：</span>
                            <select id="majorName">
                                <option value="OIS_HR" selected="selected">人资</option>
                                <option value="OIS_MM">物资</option>
                                <option value="OIS_MK">营销</option>
                                <option value="OIS_PM">项目</option>
                                <option value="OIS_FC">财务</option>
                                <option value="OIS_AE">其他</option><!--  Anything Else -->
                            </select>
                        </div>
                    </td>
                    <td>
                        <div>
                            <span>请求地址：</span> <input type="text" id="linkAdress"value="/ois-hr/"/>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div>
                            <span>请求方式：</span>
                            <select id="requestType">
                                <option value="1" selected="selected">GET</option>
                                <option value="2">POST</option>
                            </select>
                        </div>
                    </td>
                    <td>
                        <div>
                            <span>数据格式：</span>
                            <select id="dataType">
                                <option value="1" selected="selected">JSON</option>
                                <!--<option value ="2">XML</option>-->
                            </select>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
            <div>
                <div>请输入你的数据:</div>
                <textarea id="dataContent" rows="5" cols="40"></textarea>
            </div><span><a href="/list" target="_blank">Query mock service</a></span>
            <div>
                <input type="button" value="MOCK" onclick="checkDataFormat()" id="queryDataFormat"/>
                <span id="mock_link"></span>
            </div>
            <div>
                <!--<input type="text"  id="backMessage">-->
                <textarea id="backMessage" rows="3" cols="40" style="display:none"></textarea>
            </div>
        </div>
    </div>
</div>
<!--	<div class="download">-->

</div>
<div class="footer">
    <p>版权所有 2018 国网信通产业集团 STATE GRID INFO & TELECOM GROUP </p>
    <p>运维电话：010-62154898, 工作时间： 08:00 ~ 16:30</p>
</div>


<script type="text/javascript" src="Jquery/jquery.js"></script>
<script type="text/javascript" src="js/checkDataFormat.js"></script>
</body>

</html>